package com.sc.nft.req.mallCart;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author：LiGen
 * @Package：com.sc.nft.req.mallCart
 * @Project：sc_metago
 * @name：CartEditReq
 * @Date：2024/5/16 20:22
 * @Filename：CartEditReq
 */
@Data
public class CartEditReq {

    @ApiModelProperty( "小程序用户Id 必填 前端不必理会")
    private Long miniUserId;

    @ApiModelProperty( "活动Id 必填")
    @NotNull(message = "活动Id不能为空")
    private Long activityId;

    @ApiModelProperty( "活动规格Id 必填")
    @NotNull(message = "活动规格Id不能为空")
    private Long activitySpecsId;

    @ApiModelProperty( "增量/减量 必填")
    @NotNull(message = "增量/减量不能为空")
    private Integer cartNumIncrement;
}
